﻿namespace Castle.MonoRail.ExtensionMethods {
	public static class Setup {
		public static void ForAll<T>(T provider)
			where T : IControllerExtensionsProvider, IResponseExtensionsProvider, IUrlBuilderExtensionsProvider {
			ControllerExtensions.Provider = provider;
			IResponseExtensions.Provider = provider;
			IUrlBuilderExtensions.Provider = provider;
		}
	}
}